#include "cappsettingsdlg.h"
#include "ui_cappsettingsdlg.h"

CAppSettingsDlg::CAppSettingsDlg(QWidget *parent) :
    QDialog(parent),
    ui(new Ui::CAppSettingsDlg)
{
    ui->setupUi(this);
    ui->spinBox->setValue(4);
}

CAppSettingsDlg::~CAppSettingsDlg()
{
    delete ui;
}

void CAppSettingsDlg::setDefaultAnswersCount(int &i)
{
    ui->spinBox->setValue(i);
}
int CAppSettingsDlg::getDefaultAnswersCount()
{
    return ui->spinBox->value();
}
